package com.easy.demo.demos.web.vo;

import java.io.Serializable;
import java.util.List;

public class User implements Serializable {

    public User(String username, String realName, List<Role> roles) {
        this.realName = realName;
        this.username = username;
        this.roles = roles;
    }

    private String realName;

    private Integer age;

    private String username;

    private List<Role> roles;

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public List<Role> getRoles() {
        return roles;
    }

    public void setRoles(List<Role> roles) {
        this.roles = roles;
    }
}
